<template>
  <div class="operation_continer">
    <div v-hasPermi="['inventorywarning_left_add']">
      <span class="operation_continer_title">操作栏</span>
      <!-- 根据需要 添加操作按钮 --------------------------------------------------------------------->
      <el-button type="primary" plain icon="el-icon-plus" @click="$emit('click_create_item')">生成采购单</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'OperationBar',
  data () {
    return {
    }
  },
  methods: {
  }
}
</script>
<style lang="scss" scoped>
.operation_continer {
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  background-color: white;
  border-radius: 5px;

  &_title {
    line-height: 36px;
    padding: 0 20px 0 0;
    font-weight: bold;
  }
}
</style>
